package com.jtjrenren.android.taxi.driver.bean.event;

import com.jtjrenren.android.taxi.driver.bean.DriverInfo;

/**
 * Created by Administrator on 2016/5/4.
 */
public class DriverEvent {
    public static final int MODE_LOGIN = 0;
    public static final int MODE_REGISTER = 1;
    public static final int MODE_GETTYPE = 2;
    public static final int MODE_GETTODAYINCOME= 3;

    private int mode;
    private DriverInfo info;

    public DriverEvent(int mode, DriverInfo info) {
        this.mode = mode;
        this.info = info;
    }

    public int getMode() {
        return mode;
    }

    public void setMode(int mode) {
        this.mode = mode;
    }

    public DriverInfo getInfo() {
        return info;
    }

    public void setInfo(DriverInfo info) {
        this.info = info;
    }
}
